<?php

use Faker\Generator as Faker;
use App\Models\CommentDetail;

$factory->define(CommentDetail::class, function (Faker $faker) {
    $content = [
        ['type' => 'text', 'data' => ['text' => $faker->sentence()]],
    ];
    return [
        'content' => $content,
    ];
});
